package com.newretail.springboot.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author:gaoxu;
 * @Email:gaoxu@benlai.com
 * @DATE:2017-12-28
 * @version:ver1.0.0
 * @Description: Created by gaoxu on 2017-12-28.
 */

@RestController
@RequestMapping("/hello")
public class HelloWordController {
    @RequestMapping("/sayhello")
    public String sayHello(){
        return "Hello World";
    }
}
